<?php

$userid = $_SESSION["userlogin"];
$load_ttcn = "SELECT * 
FROM nhanvien AS A
INNER JOIN chitietnhanvien AS B ON A.id_NhanVien = B.id_NhanVien
WHERE A.id_NhanVien = '$userid' ";

$kq_ttcn = executeQuery($load_ttcn);

?>